package com.xsd.vistor;

/**
 * @Description:
 * @Author: zhoufuzong
 * @Created: 2021-03-06 17:43:44
 * @Version: 1.1.0
 */

public class Success extends Action {
    @Override
    public void getManResult(Man man) {
        System.out.println("man :成功");
    }

    @Override
    public void getWomanResult(Woman woman) {
        System.out.println("woman 成功");

    }
}
